﻿@model CommentAjaxViewModel
			 
<div>
	<div class="result">@(this.Model.Result ? 1 : 0)</div>

	@this.Html.RenderMessage()

	<div class="commentsCount">@this.Model.CommentsCount</div>

	<div class="captchaValueA">@this.Model.CaptchaValueA</div>

	<div class="captchaValueB">@this.Model.CaptchaValueB</div>

	<div class="captchaKey">@this.Model.CaptchaKey</div>

	<div class="isAuthorValid">@(this.Model.CommentModel.IsAuthorValid ? 1 : 0)</div>

	<div class="isContentValid">@(this.Model.CommentModel.IsContentValid ? 1 : 0)</div>

	<div class="isCaptchaValid">@(this.Model.CommentModel.IsCaptchaValid ? 1 : 0)</div>

	@{ this.Html.RenderPartial("../Entries/CommentView", this.Model.CommentModel); }
</div>